package com.todo.partner.iface.backend;


import com.todo.common.common.entity.response.BizPageResponse;
import com.todo.common.common.entity.response.BizResponse;
import com.todo.partner.iface.backend.request.ProhibitPartnerByIdReq;
import com.todo.partner.iface.backend.request.QueryPartnerByConditionReq;
import com.todo.partner.iface.backend.request.QueryPartnerDetailByIdReq;
import com.todo.partner.iface.backend.response.ContentPartnerDetailResp;
import com.todo.partner.iface.backend.response.QueryContentPartnerByConditionResp;

/**
 * @author zhangwenxiang
 * @date 2024/3/17 19:57
 * @description
 */
public interface ContentPartnerBackendIface {

    /**
     * 禁用搭子内容
     *
     * @param req
     * @return
     */
    BizResponse<Boolean> prohibitPartnerById(ProhibitPartnerByIdReq req);

    /**
     * 多条件查询搭子内容信息
     *
     * @param req
     * @return
     */
    BizPageResponse<QueryContentPartnerByConditionResp> queryPartnerByCondition(QueryPartnerByConditionReq req);

    /**
     * 根据主键查询搭子内容详情
     *
     * @param req
     * @return
     */
    BizResponse<ContentPartnerDetailResp> queryPartnerDetailById(QueryPartnerDetailByIdReq req);

}
